export const routes = [{
	path:"/home",//首页
	alias:"/",//别名
	component:()=>import("@/pages/home/home")
},{
	path:"/list",//列表
	props:(route)=>{
		return{
			id:route.query.id
		}
	},
	component:()=>import("@/pages/list/list")
},{
	path:"/shopcar",//购物车
	component:()=>import("@/pages/shopcar/shopcar")
},{
	path:"/user",//用户中心
	component:()=>import("@/pages/user/user")
},{
	path:"/register",//注册页
	component:()=>import("@/pages/register/register")
},{
	path:"/login",//登录页
	component:()=>import("@/pages/login/login")
}]